﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NCP.Model
{
    public class MissionDept
    {
        public string DeptCode { get; set; }

        public string DeptName { get; set; }

        //0:合并科室，1：基础科室
        public string DeptType { get; set; }

        //0:合并科室，1：基础科室
        public string SpellCode { get; set; }


        public MissionDept(DeptMergeInfo deptinfo)
        {
            this.DeptCode = deptinfo.DeptCode;
            this.DeptName = deptinfo.DeptName;
            this.SpellCode = deptinfo.SpellCode;
            this.DeptType = "0";
        }

        public MissionDept(DeptInfo deptinfo)
        {
            this.DeptCode = deptinfo.DeptCode;
            this.DeptName = deptinfo.DeptName;
            this.SpellCode = deptinfo.SpellCode;
            this.DeptType = "1";
        }
    }
}
